]> dgit.raspbian.org Git - gnome-shell.git/commit
loginManager: Extend canSuspend() callback
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 26 May 2016 20:20:50 +0000 (22:20 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 27 May 2016 15:04:46 +0000 (17:04 +0200)
commit1cb644529f49db0ff378dcd39ad555a35b763294
tree634edea03f916d4adcea223914b59253b855ecf4
parent6cff0fd9948f9b0fb0931551bf23a41fe261c93b
loginManager: Extend canSuspend() callback

The underlying logind API does not only indicate whether suspend is
available, but also whether the user is eligible for executing the
operation without further authentication. This information can be
relevant, so pass it to the callback.

https://bugzilla.gnome.org/show_bug.cgi?id=725960
js/misc/loginManager.js